// 去掉所有的滚动条
::-webkit-scrollbar {
    width: 0;
}

body {

    background-color: #edf6f38d;

    .home-box {
        height: 90%;
        width: 100%;
        display: flex;
        flex-direction: column;
        // flex: 1;
        overflow: scroll;

        // 轮播图
        .home-swiper {
            width: 100%;
            height: 25%;
            position: relative;

            // background-color: #afeed9;
            .swiper-wrapper {
                width: 100%;

                .swiper-slide {
                    background-color: #eef5e6;
                }

                #slide1 {
                    background: url("../../assets/imgs/course-img03.jpg") no-repeat center;
                    background-size: cover;
                }

                #slide2 {
                    background: url("../../assets/imgs/course-img05.jpg") no-repeat center;
                    background-size: cover;
                }
            }

            .swiper-pagination {
                position: absolute;
                bottom: 0px;
                left: 0px;
            }
        }

        .home-is {
            height: 75%;
            padding: 0px 10px;

            // 今天
            .is-today {
                height: 28%;
                // background-color: red;
                margin-top: 5%;
                display: flex;
                justify-content: space-between;

                div {
                    p.todayp {
                        text-align: left;
                        margin-top: 15px;
                        padding-left: 10px;
                        color: #707070;
                        font-size: 18px;
                        font-weight: bold;
                    }
                }

                .todayl {
                    width: 38%;
                    height: 100%;
                    background: url(../../assets/imgs/index-card-rank.png) #b3ffde no-repeat;
                    background-size: 75%;
                    background-position: -5px 24px;
                    display: inline-block;
                    border-radius: 10px;
                    text-align: right;

                    .todaylp {
                        font-size: 55px;
                        color: #ffffff;
                        padding-right: 15px;
                    }
                }

                .todayr {
                    width: 56%;
                    height: 100%;
                    display: inline-block;
                    border-radius: 10px;
                    background: url(../../assets/imgs/index-card-sum.png) #90fac3 no-repeat;
                    background-size: 45%;
                    background-position: 10px 24px;
                    text-align: right;
                    padding-right: 20px;

                    #clockBtn {
                        margin-top: 20px;
                        text-align: center;
                        display: inline-block;
                        height: 32px;
                        line-height: 30px;
                        width: 45%;
                        border-radius: 20px;
                        border: 2px solid #25b388;
                        color: #25b388;
                    }
                }
            }

            // 运动
            .is-motion {
                height: 20%;
                margin-top: 5%;
                display: flex;
                justify-content: space-between;
                font-weight: bold;
                font-size: 12px;

                .mol {
                    border-radius: 10px;
                    width: 48%;
                    height: 100%;
                    background: url(../../assets/imgs/index-card-data.png) no-repeat;
                    background-size: cover;
                    background-position: 0px -5px;

                    .molp {
                        padding: 10px 0px 0px 10px;
                        color: white;
                    }
                }

                .mor {
                    border-radius: 10px;
                    width: 48%;
                    height: 100%;
                    background: url(../../assets/imgs/index-card-badge.png) no-repeat #5bf0d0;
                    background-size: 50%;
                    background-position: 2px 2px;
                    position: relative;

                    .morp {
                        position: absolute;
                        top: 0px;
                        left: 0px;
                        display: inline-block;
                        padding: 10px 0px 0px 10px;
                        color: #488472;
                    }

                    .motxt {
                        text-align: right;
                        font-size: 55px;
                        color: #488472;
                        text-align: right;
                        padding-right: 20px;

                        .danwei {
                            font-size: 12px;
                        }
                    }
                }
            }

            // 课程
            #is-course {
                height: 18%;
                margin-top: 5%;
                background: url(../../assets/imgs/home-bg1.jpg) no-repeat;
                background-size: cover;
                background-position: 0px -120px;
            }

            p.pwhiter {
                padding: 10px 0px 0px 10px;
                color: white;
                font-size: 12px;
                font-weight: bold;
            }

            // 跑步
            #is-run {
                height: 18%;
                background: url("../../assets/imgs/course-img04.jpg") no-repeat center;
                background-size: cover;
                margin-top: 5%;
            }
        }

    }

}